﻿using System;
using System.Collections.Generic;

#nullable disable

namespace Ant.EntityFrameworkCore.Model
{
    public partial class UserInfo
    {
        public UserInfo()
        {
            InventoryManagements = new HashSet<InventoryManagement>();
            SalesOrders = new HashSet<SalesOrder>();
        }

        public int UserId { get; set; }
        public int UserRole { get; set; }
        public string UserName { get; set; }
        public string UserEmail { get; set; }
        public string UserPwd { get; set; }
        public int? UserStore { get; set; }

        public virtual Role UserRoleNavigation { get; set; }
        public virtual StoreInfo UserStoreNavigation { get; set; }
        public virtual ICollection<InventoryManagement> InventoryManagements { get; set; }
        public virtual ICollection<SalesOrder> SalesOrders { get; set; }
    }
}
